package com.mjduan.project.src;

/**
 * Hans 2017-09-28 23:48
 */
public class BDecorator extends PizzaDecorator {

    public BDecorator(IPizza customedPizza) {
        super(customedPizza);
    }

    @Override
    public String make() {
        return customedPizza.make() + addSomething();
    }

    private String addSomething() {
        return " + B";
    }
}
